using System;
using System.Collections.Generic;
using System.Text;

namespace Com.ContentRendering.Api.ParserEngine
{
    /// <summary/>
    internal static class Constant
    {
        // exception constants
        internal const string EXCEPTION_MISSING_END_CHARACTER = "The document is missing an end character";
        internal const string EXCEPTION_MISSING_START_CHARACTER = "The document is missing a start character";
        internal const string EXCEPTION_MISSING_ESCAPE_CHARACTER = "The document is missing an escape character";
        internal const string EXCEPTION_TAG_NAME_INVALID = "The tag name is not valid";
        internal const string EXCEPTION_TAG_NAME_EMPTY = "The tag name is empty";
        internal const string EXCEPTION_PARENT_TAG_CANNOT_HAVE_NAME = "The parent tag cannot have a name";
        internal const string EXCEPTION_PARSE = "The char '{0}' at line {1} and column {2} after the string '{3}' caused a parsing exception";

        // char constants
        internal const char CHAR_LINE_FEED = '\n';

        // everything else
        internal const int DEFAULT_PARENT_LEVEL = 0;
        internal const int DEFAULT_LINE = 1;
        internal const int DEFAULT_COLUMN = 0;
        internal const int DEBUG_BUFFER_MAX_COUNT = 30;
    }
}
